package com.li.dao;

import com.li.model.ProjectReport;
import com.li.model.UserProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProjectReportMapper {
    public List<ProjectReport> queryAllReportByPid(@Param("pid")long pid);
    public void addReport(ProjectReport projectReport);
    public void updateReport(ProjectReport projectReport);
    public void deleteReport(@Param("id") long id);
    public ProjectReport queryReportById(@Param("id")long id);
}
